<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>09-svg绘制折线和矩形</title>
  <style>
    svg {
      width: 800px;
      height: 600px;
      border: 1px solid #000;
    }
  </style>
</head>
<body>
  <svg>
    <!-- 绘制折线图 -->
    <polyline points="100 100, 200,200, 300 200,400 300,500 200" fill-opacity="0" stroke-width="10"  style="stroke:#000;"></polyline>

    <rect x="200" y="400" width="200" height="100" style="stroke:red;fill:cyan"></rect>
  </svg>
</body>
</html>